﻿// -------------------------------------------------------------------------
//    @FileName         :    NFWatchTime.h
//    @Author           :    gaoyi
//    @Date             :    24-8-8
//    @Email            :    445267987@qq.com
//    @Module           :    NFWatchTime
//
// -------------------------------------------------------------------------

#pragma once

#include "NFOperatingStatistcsMgr.h"

class NFWatchTime
{
public:
	NFWatchTime(int iID, int iSubID, int iByte, ENetStatisticType eType, int* piRetCode);

	virtual ~NFWatchTime();

	static bool ms_bNeedRecordTime;
private:
	uint64_t m_stBegin;
	int m_iID;
	int m_iSubID;
	int m_iByte;

	ENetStatisticType m_eNetStaticsticType;

	int* m_piRetCode;
};

class NFModuleWatchTime
{
public:
	NFModuleWatchTime(int iID, const std::string szName);
	~NFModuleWatchTime();
	static bool ms_bNeedRecordTime;
private:
	uint64_t m_stBegin;
	int m_iID;
	std::string m_szName;
};
